package com.example.demo.service.impl;

import com.example.demo.dao.CourseDao;
import com.example.demo.dao.UserDao;
import com.example.demo.pojo.UserCourse;
import com.example.demo.service.CourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author 翁佃峰
 * date:2020/10/28 13:44
 */
@Service
public class CourseServiceImpl implements CourseService {
    @Resource
    CourseDao courseDao;
    @Resource
    UserDao userDao;

    @Override
    public List<UserCourse> getUserCourseList() {
        return courseDao.getCourseList();
    }
}
